Solution 1 (Test)